﻿using Microsoft.AspNetCore.Authorization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace InfrastructureBase.Base.AuthBase.CustomAuth
{
    /// <summary>
    /// 自定义的 Requirement 实现 IAuthorizationRequirement
    /// </summary>
    public class CustomAuthorizationRequirement:IAuthorizationRequirement
    {
        public CustomAuthorizationRequirement(string name)
        {
            Name = name;
        }
        public string Name { get; set; }
    }
}
